Skip to content

Merge main into next: #348 and #349 - #350

Merged
T-Crypt merged 6 commits into
nextfrom
T-Crypt/main-into-next-sse-notify
Nov 16, 2026
Merged

T-Crypt merged 6 commits into
nextfrom
T-Crypt/main-into-next-sse-notify

Conversation

@T-Crypt

@T-Crypt T-Crypt commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Brings #348 and #349 from main into next. No conflicts, and the CHANGELOG lines sit under ## [Unreleased]. Full proof is green.

…vents

sseFailure wrote "data: {error}\ndata: [DONE]\n\n", one SSE event with two
data lines. A client joins those lines with a newline, so it read the
error object followed by "[DONE]", failed to parse it and reported
"malformed server-sent event JSON" with no reason. A blank line now ends
the error event before DONE.

TestKeepAliveFailureEmitsErrorEvent reads the stream the way an SSE
client does and requires each event's data to be JSON or [DONE].

Closes #346
service install --notify wrote the bare berth.exe to the user's Run key.
berth.exe is a console program, so a console opened at every logon, and
closing it sent CTRL_CLOSE_EVENT and ended the tray. The Run value is now
wscript on a berth-notify.vbs stub, the launcher the other units use:
no console, berth notify runs hidden, and its output goes to
logs\berth-notify.log. Uninstall removes the stub with the Run value.

Closes #344
fix(gateway): send a streamed start failure's error and DONE as two events
fix(notify): start the Windows tray at logon without a console
@T-Crypt
T-Crypt merged commit 8122ffc into next Nov 16, 2026
4 checks passed
@T-Crypt
T-Crypt deleted the T-Crypt/main-into-next-sse-notify branch November 16, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant